import Vue from "vue";
import App from "./App.vue";
import store from "./store";
Vue.config.productionTip = false;

// 注册全局组件
// 省市区联动菜单
import VDistpicker from 'v-distpicker'
Vue.component('v-distpicker', VDistpicker)
// 表单验证
import VeeValidate from 'vee-validate'
import zh_CN from "vee-validate/dist/locale/zh_CN";
import VueI18n from "vue-i18n";
Vue.use(VueI18n);
const i18n = new VueI18n({
  locale: "zh_CN"
});
Vue.use(VeeValidate, {
  i18n,
  i18nRootKey: "validation",
  dictionary: {
    zh_CN
  }
});

new Vue({
  store,
  render: h => h(App)
}).$mount("#app");